import {createBrowserRouter} from 'react-router-dom'
import App from '../App'
import City from '../pages/City'
const router =createBrowserRouter([
    {
        path:'/',
        element:<App></App>,
        children:[
            {
                index:true,element:<City></City>
            },
            {
                path:'city',
                element:<City></City>
            }
        ]
    }
])
export default router